﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RinNote.Server.Model.FileModel
{
    public class Folder
    {
        /// <summary>
        /// 文件夹ID
        /// </summary>
        public string _id { get; set; }
        /// <summary>
        /// 父级文件夹ID
        /// </summary>
        public string ParentFolderId { get; set; } = "";
        /// <summary>
        /// 文件夹名称
        /// </summary>
        public string FolderName { get; set; }
        /// <summary>
        /// 创建文件夹的用户ID
        /// </summary>
        public string CreateUserId { get; set; }
        /// <summary>
        /// 文件夹是否有密码
        /// </summary>
        public bool HasPassword { get; set; } = false;
        /// <summary>
        /// 文件夹密码
        /// </summary>
        public string Passworld { get; set; } = null;
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateDate { get; set; } = DateTime.Now;
    }
}
